#ifndef PCG_EXPR_PARSER_TYPES_H
#define PCG_EXPR_PARSER_TYPES_H

#include "expr_parser.h"

typedef struct _pcg_parse_parm_t
{
	void *yyscanner; /* state of the lexer */
	
	char *buf; 		/* buffer we read from */
	int pos; 		/* current position in buf */
	int	length;		/* length of buf */

	pcg_expr_t *result;	/* result of the parser */
} pcg_parse_parm_t;

int pcg_parse(pcg_parse_parm_t *parm, void *scanner);

#endif // PCG_EXPR_PARSER_TYPES_H